package com.jdjr.drools.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class Rules {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 说明
     */
    private String comment;

    /**
     * 包名
     */
    private String packageName;

    /**
     * 导入的声明
     */
    private String imports;

    /**
     * 规则名
     */
    private String ruleName;

    /**
     * 条件
     */
    private String lhs;

    /**
     * 处理
     */
    private String rhs;

    /**
     * 属性
     */
    private String attributes;

}
